<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
        <html><head>
        <link rel="stylesheet" type="text/css" href="apidocs.css"/>
        <title>API docs for &ldquo;sympy.numerics&rdquo;</title>
        </head>
        <body><h1 class="package">Package s.numerics</h1><span id="part">Part of <a href="sympy.html">sympy</a></span><div class="toplevel"><div><p>This module contains functions and classes for arbitrary-precision 
numerical computations.</p>
<pre class="py-doctest">
<span class="py-prompt">&gt;&gt;&gt; </span><span class="py-keyword">from</span> sympy.numerics <span class="py-keyword">import</span> Float
<span class="py-prompt">&gt;&gt;&gt; </span><span class="py-keyword">from</span> sympy.numerics.functions <span class="py-keyword">import</span> exp, log, sqrt
<span class="py-prompt">&gt;&gt;&gt; </span><span class="py-keyword">from</span> sympy.numerics.constants <span class="py-keyword">import</span> pi_float
<span class="py-prompt">&gt;&gt;&gt; </span>Float.setdps(50)
<span class="py-prompt">&gt;&gt;&gt; </span><span class="py-keyword">print</span> pi_float()
<span class="py-output">3.1415926535897932384626433832795028841971693993751</span>
<span class="py-output"></span><span class="py-prompt">&gt;&gt;&gt; </span><span class="py-keyword">print</span> exp(1)
<span class="py-output">2.7182818284590452353602874713526624977572470937000</span>
<span class="py-output"></span><span class="py-prompt">&gt;&gt;&gt; </span><span class="py-keyword">print</span> log(2)
<span class="py-output">0.69314718055994530941723212145817656807550013436025</span>
<span class="py-output"></span><span class="py-prompt">&gt;&gt;&gt; </span><span class="py-keyword">print</span> sqrt(2)
<span class="py-output">1.4142135623730950488016887242096980785696718753769</span></pre>
</div></div><table class="children"><tr class="module"><td>Module</td><td><a href="sympy.numerics.constants.html">constants</a></td><td><div><p>Commonly used mathematical constants (pi, log(2), log(10), gamma, 
...)</p>
</div></td></tr><tr class="module"><td>Module</td><td><a href="sympy.numerics.evalf_.html">evalf_</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="module"><td>Module</td><td><a href="sympy.numerics.float_.html">float_</a></td><td><div><p>This module implements a class Float for arbitrary-precision binary</p>
</div></td></tr><tr class="module"><td>Module</td><td><a href="sympy.numerics.functions.html">functions</a></td><td><div><p>This module implements standard mathematical functions</p>
</div></td></tr><tr class="module"><td>Module</td><td><a href="sympy.numerics.functions2.html">functions2</a></td><td><div><p>Numerical implementations of special functions (gamma, ...)</p>
</div></td></tr><tr class="module"><td>Module</td><td><a href="sympy.numerics.optimize.html">optimize</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="module"><td>Module</td><td><a href="sympy.numerics.quad.html">quad</a></td><td><div><p>Routines for arbitrary-precision numerical quadrature</p>
</div></td></tr><tr class="module"><td>Module</td><td><a href="sympy.numerics.utils_.html">utils_</a></td><td><span class="undocumented">Undocumented</span></td></tr></table></body>
        